lblVersion.Caption = "WebVrChk Version " + WebVrChk1.Version
End Sub
Private Sub WebVrChk1_ErrorInDownload(ByVal Error As wvcError)
Select Case Error
Case wvcFileNotFound, wvcCoundNotConnect
MsgBox "Could not connect to web site or file not found"
End Select
End Sub
Private Sub WebVrChk1_UpdateAvailable(ByVal sNewVersion As String, ByVal sDownloadURL As String, ByVal sAbstract As String, ByVal sCustomData As String)
MsgBox "Version available is " + sNewVersion + ", CurrentVersion property is set to " + WebVrChk1.CurrentVersion + _
vbLf + vbLf + "Download URL set to : " + sDownloadURL + _
vbLf + vbLf + "Abstract set to : " + sAbstract + _
vbLf + vbLf + "Custom Data set to : " + sCustomData, _
vbInformation, "A new version has been found"
End Sub
Private Sub WebVrChk1_UpdateUnavailable()
MsgBox "You have the most recent version available (" + WebVrChk1.CurrentVersion + ")", _